package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * IM会话统计对象 q_im_tj
 * 
 * @author ruoyi
 * @date 2024-06-25
 */
public class QImTj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关键字 */
    private Long imTjId;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date imDate;

    /** 会话总数 */
    @Excel(name = "会话总数")
    private String sessionSum;

    /** 会话总时长 */
    @Excel(name = "会话总时长")
    private String sessionZsc;

    /** 会话平均时长 */
    @Excel(name = "会话平均时长")
    private String sessionAvcSc;

    public void setImTjId(Long imTjId) 
    {
        this.imTjId = imTjId;
    }

    public Long getImTjId() 
    {
        return imTjId;
    }
    public void setImDate(Date imDate) 
    {
        this.imDate = imDate;
    }

    public Date getImDate() 
    {
        return imDate;
    }
    public void setSessionSum(String sessionSum) 
    {
        this.sessionSum = sessionSum;
    }

    public String getSessionSum() 
    {
        return sessionSum;
    }
    public void setSessionZsc(String sessionZsc) 
    {
        this.sessionZsc = sessionZsc;
    }

    public String getSessionZsc() 
    {
        return sessionZsc;
    }
    public void setSessionAvcSc(String sessionAvcSc) 
    {
        this.sessionAvcSc = sessionAvcSc;
    }

    public String getSessionAvcSc() 
    {
        return sessionAvcSc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imTjId", getImTjId())
            .append("imDate", getImDate())
            .append("sessionSum", getSessionSum())
            .append("sessionZsc", getSessionZsc())
            .append("sessionAvcSc", getSessionAvcSc())
            .toString();
    }
}
